#ifndef DXF_ELEMENT

#ifndef NULL
#include <stdio.h>
#endif /* NULL */

#ifndef FALSE
#include "\mylib\types.h"
#endif /* FALSE */


#define DXF_ELEMENT 0
#define DXF_TEXT 1
#define DXF_NAME 2
#define DXF_FILENAME 3
#define DXF_BESCHREIBUNG 3
#define DXF_LINIENTYP 6
#define DXF_LAYER 8
#define DXF_VARNAME 9

#define DXF_X 10
#define DXF_Y 20
#define DXF_Z 30

#define DXF_FAKTOR 40
#define DXF_LAENGE 40
#define DXF_TEXTHEIGHT 40
#define DXF_BREITEFAKT 41
#define DXF_EINZELLAENGE 49

#define DXF_WINKEL 50
#define DXF_TEXTANG 50

#define DXF_FARBE 62

#define DXF_GANZZAHL 70
#define DXF_ANZAHL 70
#define DXF_FLAGS 70

extern void DxfWriteString(FILE *fp, int GroupID, char *s);
extern void DxfWriteInt(FILE *fp, int GroupID, int i);
extern void DxfWriteDouble(FILE *fp, int GroupID, double d);
extern void DxfStartAbschnitt(FILE *fp, char *Abschnitt);
extern void DxfEndeAbschnitt(FILE *fp);
extern void DxfEndeDatei(FILE *fp);
extern void DxfStartKopfAbs(FILE *fp);
extern void DxfStartTabAbs(FILE *fp);
extern void DxfStartElementeAbs(FILE *fp);
extern void DxfLimiten(FILE *fp,
				double xmin, double ymin, double xmax, double ymax);
extern void DxfLtFaktor(FILE *fp, double f);
extern void DxfStartTabelle(FILE *fp, char *Name, int Anz);
extern void DxfEndeTabelle(FILE *fp);
extern void DxfLayerTabelle(FILE *fp, int Anz);
extern void DxfDefLayer(FILE *fp,
				 char *Name, int Farbe, char *LinienTyp, bool Gefroren);
extern void DxfStilTabelle(FILE *fp, int Anz);
extern void DxfDefStil(FILE *fp, char *Name, char *FontName,
				double Hoehe, double BreiteFakt, double Neigung,
				bool Vertikal);
extern void DxfLinienTypenTabelle(FILE *fp, int Anz);
extern void DxfDefLinienTyp(FILE *fp, char *Name, char *Beschr,
					 int LenTabLen, double *LenTab);
extern void DxfLinie(FILE *fp,
			  double x1, double y1, double x2, double y2,
			  char *layer, char *lintyp);
extern void DxfText(FILE *fp, char *s,
			 double x, double y, double ang, double h, char *layer);
#endif /* DXF_ELEMENT */
